package com.dt.platform.ops.service.impl.ops;

/**
 * @author: algernonking
 * @date: 2017年12月25日 下午9:58:55
 * @Description: TODO
 */
public class RemoteShellResult {

	public int code;
	public String result ="";

	 
	
	public static RemoteShellResult setData(int code, String result) {
		RemoteShellResult res = new RemoteShellResult();
		res.result = result;
		res.code = code;
		return res;
	}

	public void print() {
		System.out.print("code:" + code+",result:\n" + result+"\n");
	}

}
